import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate' // 持久化插件

const pinia = createPinia()
export default pinia

pinia.use(persistedstate) // 使用持久化插件

export * from './user'